# -*- coding:utf-8 -*-
"""
@author: ksf

@since: 2020-04-25 21:21
"""

from vcat.core.engine import MainEngine
from vcat.core.env import Environment
from vcat.core.params import Params
from vcat.config import conf

strategy_str = """
from vcat.api import *

def initialize(context):
    print(context)
    subscribe('000001.SZ', 10)

def on_bar(context, data):
    print(context)
    print(data.current())
    print(data.history(5).to_dataframe())

"""


def main():
    engine = MainEngine()
    engine.run()


if __name__ == '__main__':
    main()